package cn.taobaoke.restful.domain;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;
import java.util.List;

/**
 * @author yangzuo
 * @since 2017-03-21
 */
public interface UserGroupRelationRepository extends JpaRepository<UserGroupRelation, Long> {

    public List<UserGroupRelation> findByDomainIdAndGroupIdAndUserIdIn(Long domainId, Long groupId, Collection<Long> userIds);

}
